/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.spring66.tutorial.dao;

import com.spring66.tutorial.model.User;
import java.util.List;

/**
 *
 * @author TwinP
 */
public interface UserDao {
    public User getUserByUsername(String username);
    public User saveUser(User user);
    public User getUser(Long userId);
    public void removeUser(Long userId);
    public List<User> getAllUser();
    public void removeUsers(List users);
}
